package com.pjb.springsecurity.domain.entity;

import java.io.Serializable;
import java.util.Date;

public class Weather implements Serializable {
    private Integer id;
    private String temperature;
    private Date time;
    private String city;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "Weather{" +
                "id=" + id +
                ", temperature='" + temperature + '\'' +
                ", time=" + time +
                ", city='" + city + '\'' +
                '}';
    }
}
